#ifndef _V_INFO_BAR_
#define _V_INFO_BAR_

#include <QWidget>
class VCloseButton;
class QPushButton;
class VInfoBar  : public QWidget
{
	Q_OBJECT

public:
	VInfoBar(QWidget *parent);
	~VInfoBar();
	void initConnect();
	void initWindowControlButtons();
	void resizeEvent(QResizeEvent* event);
	void onCloseButtonReleased();
	void onMaximizeButtonReleased();
	void onMinimizeButtonReleased();
	bool eventFilter(QObject* obj, QEvent* event);
private:
	QPushButton* m_pCloseButton;
	QPushButton* m_pMinimizeButton;
	QPushButton* m_pMaximizeButton;
};


#endif //_V_INFO_BAR_